package humans

import (
    `bytes`
    `strconv`
    `strings`
)

// 01_not_so_simple 不那么简单

func NotSoSimple(ID int64,name string, age int , registered bool)string   {
    out := &bytes.Buffer{}

    out.WriteString(strconv.FormatInt(ID, 10))
    out.WriteString("-")
    out.WriteString(strings.Replace(name, " ", "_", -1))
    out.WriteString("-")
    out.WriteString(strconv.Itoa(age))
    out.WriteString("-")
    out.WriteString(strconv.FormatBool(registered))
    return out.String()

}
